@import "common.less";

@leftwidth:355px;
@Hwdith:30px;
@secondcolor:#aaaaaa;
.commodity{
	.body-wrap{
		padding-top: 52px;
		float: left;
		width: 100%;
		// background-color: @bgcolor;
	}
}
.show-img{
	float: left;
	width: @leftwidth;
	.show-img_base-img{
		float: right;
		border:1px solid @secondcolor;
	}
}
.product-detail{
	float: right;
	width: @bodywidth - @leftwidth - @Hwdith;
	// margin-top: -7px;
	position: relative;
	top:-7px;
	.product-detail_title{
		font-size: 14px;
		margin: 0;
		padding:0;
		font-weight: normal;
		padding-bottom: 10px;
	}
	.product-detail_tags{
		.product-detail_tags_item{
			color: @maincolor;
			font-size: 14px;
			padding-left: 10px;
			padding-right: 5px;
			border-right: 1px solid @maincolor;
		}
	}
	table,tr,td{
		border: 0;
	}
	.product-detail_inventory{
		font-size: 14px;
		font-family: "宋体";
		margin-top: 22px;
		// .seleted{
		// 	border:1px solid @maincolor;
		// }
		.product-detail_field{
			color:@secondcolor;
			width: 88px;
			height: 30px;
			line-height: 30px;
			display: block;
		}
		.product-detail_price{
			.product-detail_price_value{
				font-size: 24px;
				font-weight: bold;
				color:@maincolor;
				font-family: @yahei;
			}
		}
		.product-detail_address{
			@addressandexpresscolor:#656565;
			.product-detail_address_start{
				color: @addressandexpresscolor;
			}
			.product-detail_address_end{
				padding:0 4px 0 3px;
				color: #FFF;
				background-color: #b7b7b7;
				height: 18px;
				line-height: 18px;
				.inline-block;
			}
			.product-detail_express{
				color: @addressandexpresscolor;
				padding-left: 38px;
			}
		}
		.product-detail_sales{
			color:@secondcolor;
			.product-detail_sales_value{
				color:@maincolor;
			}
		}
		.product-detail_cut{
			font-size: 0;
			margin-bottom: 12px;
			display: block;
			border-bottom: 1px solid #eeeeee;
		}
		.product-detail_colors{
			.product-detail_colors_item{
				width: 41px;
				height: 46px;
				border: 1px solid @secondcolor;
				.inline-block;
				margin-right: 16px;
			}
		}
		.product-detail_shell{
			height: 68px;
			line-height: 68px;
			font-size: 12px;
			color: #525252;
			.product-detail_shell_item{
				padding: 10px;
				border:1px solid @secondcolor;
				&.seleted{
					border:1px solid @maincolor;
				}
			}
		}
		.product-detail_buy-num{
			.product-detail_buy-num_value{
				width: 79px - 10px;
				padding: 0 5px;
				text-align: right;
				height: 30px;
				border:1px solid @secondcolor;
				color: #464646;
				float: left;
			}
			.product-detail_buy-num_controllers{
				width: 16px;
				float: left;
				padding: 2px;
				.product-detail_buy-num_controllers_item{
					display: block;
					float: left;
					width: 13px;
					height: 10px;
					border:1px solid @secondcolor;
					text-align: center;
					line-height: 10px;
					color:@secondcolor;
				}
				.up{
					margin-bottom: 4px;
				}
			}
		}
		.product-detail_stock{
			float: left;
			padding-top: 6px;
			padding-left: 16px;
			color:@secondcolor;
		}
	}
	.product-form{
		height: 75px - 20px - 20px;
		padding: 19px 0 25px 88px;
		a{
			text-decoration: none;
			font-size: 0;
		}
		.product-form_buy-now{
			width: 165px;
			height: 31px;
			.inline-block;
			background-image: url("../img/三笑优品-单品页_14.png");
			background-repeat: no-repeat;
			background-position:50% 50%;
		}
		.product-form_shopping-cart{
			margin-left: 12px;
			width: 165px;
			height: 31px;
			.inline-block;
			background-image: url("../img/三笑优品-单品页_16.png");
			background-repeat: no-repeat;
			background-position:50% 50%;
		}
	}
}